home *** CD-ROM | disk | FTP | other *** search
Text File | 1993-10-01 | 6.5 KB | 145 lines | [TEXT/EDIT] |
- ************************************************
- *
- * Instructions for MacCLI !! (1/10/93)
- *
- ************************************************
-
- This program is still in the developmental stages but at the
- present stage (1/10/93) it seems to be bug-free (with a few
- exceptions). And there is still a whole lot more to be added!!
-
- /*-------------------------------------------------------------*/
- Here is a list of the availible commands at this moment.
- /*-------------------------------------------------------------*/
-
- • pwd : prints current directory (this is printed always in the
- window's status bar so its a bit redundant.
- • df : prints a list of mounted volumes, the number of files on
- that volume and also the free space.
- • new : brings up a brand new console window!
- • history : prints out the history list with a * in front of the
- current history position. you can scroll up and down the
- history with the up and down arrows!!
- • history clear : clears out the history buffer.
- • ps : prints out a list of the currently open windows and extra
- stuff about em.
- • edit [filename] : without the argument this command brings up an
- Untitled edit window (A text editor!!) and with the filename
- it opens that file. (text file) there is no type (ie TEXT)
- checking so you can open the data fork of any file (I think)!!
- • ls [directory] : The most Important command!! With no argument it
- lists the files in the current directory or the directory
- you specify.
- • cat <filename> : dumps the specified file onto the console window.
- • cd <directory> : Second most important command! Changes your current
- directory
- • mkdir <directory> : makes a new directory.
- • rm-r <directory> : recursively removes files in the specified directory.
- BE VERY CAREFUL WITH THIS COMMAND!! DONT GO AND REMOVE YOUR
- ENTIRE DISK! (by accident that is :)
- • rm <filename/directory> : removes a file or emtpy directory.
- • move <filename/directory> | <directory> : moves a file or directory into
- a new one.
- • rename <filename> | <newfilename> : renames a file.
- ** cp command will be a binary .. not availible in sample MacCLI **
- • cp <filename> | <newfilename> : copies a file.
- • cp-v " " : copies a file but verifies the writes.
- • cpdir <directory> | <newdirectory> : copies an entire directory (all
- subdirectories and files too.
- • path <full pathname> : adds the pathname specified to the search path
- list of that console. With no argument, path prints out the path
- search list.
- • alias <aliasname> <command> : alias makes it easy to have a shortened
- version of a command in aliasname. the <command> paramater takes the
- wildcard character ¿ (opt-shift-?), ie 'alias l ls ¿' will make l
- the equivalent command for ls, the ¿ makes the argument of l included.
- alias without argument will print the current alias's
- • set <var> <string> : will make <string> the equivalent of <var> as
- a shell variable, so in the command line using {<var>} will replace
- <var> with <string>, set with no arguments prints out current
- shell variables.
-
- Search Paths:
- ------------
- The list of search paths make it possible for the binary commands
- (currently ls and cat) to work properly. The search paths are setup
- in the .console file. They also enable applications to be launched from
- some other directory if that apps path is included you only need type
- the applications name. However if you have changed to that app's dir
- then you can type the application name as it is. The same applies to
- script files. It is advisable to look through the .console and .startup
- files.
-
- ••••••••
- The ls and cat commands are binaries.. (experimental system) and
- they run as separate processes (multitasking!)
- ********
-
- The menus are pretty simple and self-explanitory :)
-
- Who did what... ??
- ---------------------
- Astro: Console and edit windows with extensions to objects. Impementation of
- history in the console. All file handling. Menus. About Box (as well
- as drawing it!). New command interpreter (allowing full editing on
- command line). Converting history pointers to relocatable objects.
- Added Threads to the program *yay*. Astro has also just done rudimentry
- scripting and aliasing.. hopes Thorfinn will make em more
- sophisticated :)
- Thorfinn: Nifi C tricks with strings. Such as space and tab handling in
- filenames. (Thorfinn's been pretty lazy so hes got to write the scripting
- language and the aliases etc :) heh heh.
- Skelmir: A source of inspiration :) hehe + got Astro started on the history
- Skelmir has also written MacMud!!! and its really cool! (Astro is
- persuading Skelmir to put MacCLI console into the local mode of
- MacMud :)
-
- Other STuff..
- --------------------
- MacCLI was and is written in Think C 5.0.2 + objects (but not the TCL
- library). MacCLI started off as an experminent using the Think C console
- but soon developed into an application once Astro & Thorfinn realised that
- the Think C console was a bit limited for what was needed to be done.
- Since Astro wrote the File Handling routines he got Thorfinn to go off
- and write the Console window. However as mentioned above Thorfinn decided
- to be lazy. So Astro went and wrote it (as well as the rest of the new
- stuff). Skelmir came along and gave astro a hint on doing the history :)
-
- Legal Crap..
- --------------------
- MacCLI is FREEWARE!! (if you actually want it that is) really we should be
- paying you to have it!. Anyway what this means is that you get shitted on
- if you try and make money out of it. Thats all I want to say about that.
-
- Extra Credits..
- --------------------
- Many Thanks to Roy Wood of Silcon Angst software for writing TE32K.
- As you may have noticed its used in the editor window :) so you can
- open extra big files.
-
- Bugs......... :(
- --------------------
- MacCLI doesnt do any memory checking when you open windows (yet) etc or the like
- so if you are not careful you will CRASH the program Yay :)
-
-
- Where to find everyone!
- -----------------------
- Astro: email: 2119735@hydra.maths.unsw.edu.au
-
- snailmail: 39 The Crescent
- Vaucluse 2030
- NSW
- Australia.
- Thorfinn: email: s2105420@spectrum.cs.unsw.oz.au
- snailmail: ?? erm. :) *shrug*
- Skelmir: email: skelmir@uvapsy.psy.uva.nl
-
- snailmail: *shrug* :) somewhere in Amsterdam :)
-
- ---------------
-
- This has been an announcement from Chaos Inc.
-
- ---------------
-